Inner table presentation
Presents the table of orders.
The row of table are picked out by the color:
The table has columns with titles:
The Close column.
The mouse click doesn't has reaction in next cases:
In all other cases the
The mouse click doesn't has reaction in next cases:
In all other cases the
Market Order dialog is shown for selected position, and initiated by the Stop type.The mouse click doesn't has reaction in next cases:
In all other cases the
Set StopLimit dialog.htm is shown for selected position, and initiated by the Limit type.The mouse right button popup menu.
Contains two item:
Stop/Limit item functionalities
The item functionalities and conditions to be enabled are the same as in
Stop/Limit item of application window menu.The item functionalities and conditions to be enabled are the same as in
Close item of application window menu.The calculating columns values
Gross P/L column value is calculated by formulas:
![]()
![]()
, where
is SELL price of CCY2/USD if
>= 0, and
it is BUY price of CCY2/USD if
< 0
, where
is BUY price of USD/CCY2 if
>= 0 and
it is SELL price of USD/CCY2 if
< 0
Where:
- Value is being found
- Open position price
- Close position price
- Amount of Position
- Coefficient equals 1 for SELL position and -1 for BUY position
For example lets calculate third positions from:

There's no USD in both EUR, GBR and GBR is from list: GBR, AUD, NZD
![]()
The position is sell and
< 0 so
is BUY price of GBR/USD and equals 1.6649
So:
= -166.49 (2 cents mismatch)
For next example lets calculate fourth position from:

There's no USD in both EUR, CHF and CHF is not from list: GBR, AUD, NZD
![]()
The position is sell and
< 0 so
is SELL price of USD/CHF and equals 1.3184
So:
= --22.75485437
NetPL = GrossPL - Comm + Inter
This is the subtraction of Gross P/L column value and Comm column value
NOTE for TESTING:
Shown above formulas were produced from algorithm, which one was used for writing program source code.
But there may be mismatches with server side calculation algorithm. That should be tested at the moment of closing position by comparing Profit/Lost calculated by client and change of account after closing.
The new balance of account of closed position should be the sum old balance and NetPL. If mismatch appear, that is a bug.